/**
 * @constructor
 */
function NodeTest() {
	
	var assert = new Assert();
	
	this.testConstructor = function() {
		node1 = new Node(1,2,5,6);
		assert.assertEquals(1, node1.x,"x should be 1");
		assert.assertEquals(2, node1.y,"y should be 2");
	};
	
	this.testGetF = function() {
		node1 = new Node(1,2,5,6);
		assert.assertEquals(11, node1.getF(),"F should be 11, it's "+node1.getF());
	};
	
	this.testGetParentsCount = function() {
		node1 = new Node(1,2,5,6);
		node2 = new Node(2,2,2,2);
		node1.setParent(node2);
		assert.assertEquals(1, node1.getParentsCount(),"parentsCount should be 2");
	};
}